package com.gblfy.service;

import org.flowable.engine.runtime.ProcessInstance;

import java.util.Map;

/**
 * 流程服务类
 */
public interface IFlowService {
    /**
     * 部署工作流
     */
    Map<String,Object> createFlow(String filePath);


    /**
     * 启动工作流
     */
    ProcessInstance strartFlow(String processKey, Map<String,Object> paras);
}
